﻿// -----------------------------------------------------------------------
// <copyright company="Christoph van der Fecht - VDsoft">
// This code can be used in commercial, free and open source projects.
// </copyright>
// -----------------------------------------------------------------------
using System;
using System.Collections.Generic;
using VDsoft.SeriesNewsReader.Model;

namespace VDsoft.SeriesNewsReader.EventArguments
{
	/// <summary>
	/// Arguments that contain all received data.
	/// </summary>
	public class DownloadFinishedEventArgs : EventArgs
	{
		/// <summary>
		/// Initializes a new instance of the <see cref="DownloadFinishedEventArgs"/> class.
		/// </summary>
		/// <param name="series">Collection of all received series.</param>
		/// <param name="tvMovies">Collection of all received tv movies.</param>
		public DownloadFinishedEventArgs(ICollection<RssFeed> series, ICollection<RssFeed> tvMovies)
		{
			this.Series = series;
			this.TvMovies = tvMovies;
		}
		
		/// <summary>
		/// Gets or sets the Series.
		/// </summary>
		public ICollection<RssFeed> Series { get; private set; }

		/// <summary>
		/// Gets or sets the TvMovies.
		/// </summary>
		public ICollection<RssFeed> TvMovies { get; private set; }
	}
}
